<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ page import="com.gouwudai.gobbs.pojo.TbbsUserInfo"%>
<%@ include file="../common/common.jsp" %>
<%@ include file="user_pass2.jsp" %>
<% 
Integer userId = Utility.parseInt(request.getParameter("userId"));

IUserService userService = (IUserService)BeanManager.getBean("userService");
TbbsUserInfo obj = userService.load(userId);	
%>
<HTML>
<HEAD>
<title>查看用户信息</title>
<meta name="Keywords" content="<%=SYSMETAKEY%>" />
<meta name="Description" content="<%=SYSMETADESC%>" />
<%@ include file="../common/meta.inc" %>
</HEAD>
<%@ include file="../common/waiting.inc" %>
<BODY>
<script language="javascript">
setStatus('用户基本信息');
</script>
<form name="theform" method="post">
<table class="bluetable" width="100%">	
	<tr>
         <th colspan="4" align="right">用户基本信息</th>
    </tr>
	<tr>
		<td rowspan="3" colspan="2" align="center"><img src="<%=Utility.trimNull(obj.getPersonalPic(),basePath+"club/images/imgErr.gif")%>" width="90" height="90" title="个人头像" alt="图片地址无效"/></td>
		<td class="title" align="right">用户名:</td>
		<td><input type="text" name="loginId" id="loginId" value="<%=obj.getLoginId() %>" class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>								
	<tr>
		<td class="title" align="right">用户昵称:</td>
		<td><input type="text" name="masterName" id="masterName" value="<%=obj.getUserName() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>
	<tr>
		<td class="title" align="right">用户等级:</td>
		<td><select size="1" name="gradeId" id="gradeId" disabled onkeydown="javascript:nextKeyPress(this)">
			<%=Arguments.getUserGradeOptions(obj.getGradeId())%>
		</select></td>
	</tr>
	<tr>
		<td class="title" align="right">真实姓名:</td>
		<td><input type="text" name="trueName" id="trueName" value="<%=Utility.trimNull(obj.getTrueName()) %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
		<td class="title" align="right">性别:</td>
		<td><input type="text" name="sex" id="sex" value="<%=Arguments.getSexCN(obj.getSex()) %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="4"></td>
	</tr>	
	<tr>
		<td class="title" align="right">电子邮件:</td>
		<td><input type="text" name="email" id="email" value="<%=obj.getEmail() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="35"></td>
		<td class="title" align="right">电子邮件是否公开:</td>
		<td><input type="text" name="email" id="email" value="<%=Arguments.getDictParamName("S008."+obj.getEmailOpenFlag()) %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>	
	<tr>
		<td class="title" align="right">注册时间:</td>
		<td><input type="text" name="regTime" id="regTime" value="<%=FormatDateTime.formatDateTimeCn(obj.getRegTime())%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="35"></td>
		<td class="title" align="right">注册IP:</td>
		<td><input type="text" name="regIp" id="regIp" value="<%=obj.getRegIp()%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>
	<tr>
		<td class="title" align="right">登陆次数:</td>
		<td><input type="text" name="loginTimes" id="loginTimes" value="<%=obj.getLoginTimes()%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
		<td class="title" align="right">在线时长:</td>
		<td><input type="text" name="onlineTime" id="onlineTime" value="<%=obj.getOnlineTime()%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="10">(分钟)</td>
	</tr>	
	<tr>
		<td class="title" align="right">上次登陆时间:</td>
		<td><input type="text" name="lastLoginTime" id="lastLoginTime" value="<%=FormatDateTime.formatDateTimeCn(obj.getLastLoginTime())%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="35"></td>
		<td class="title" align="right">上次登陆IP:</td>
		<td><input type="text" name="lastLoginIp" id="lastLoginIp" value="<%=Utility.trimNull(obj.getLastLoginIp()) %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>																			
	<tr>
		<td class="title" align="right">用户金币:</td>
		<td><input type="text" name="userMoney" id="userMoney" value="<%=obj.getUserMoney() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
		<td class="title" align="right">帐户存款:</td>
		<td><input type="text" name="userDeposit" id="userDeposit" value="<%=obj.getUserDeposit() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>
	<tr>
		<td class="title" align="right">用户积分:</td>
		<td><input type="text" name="userMark" id="userMark" value="<%=obj.getUserMark() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
		<td class="title" align="right">用户信誉:</td>
		<td><input type="text" name="userCredit" id="userCredit" value="<%=obj.getUserCredit()%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>
	<tr>
		<td class="title" align="right">发表主题数:</td>
		<td><input type="text" name="userTopicCount" id="userTopicCount" value="<%=obj.getUserTopicCount() %>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
		<td class="title" align="right">发表回复数:</td>
		<td><input type="text" name="userReCount" id="userReCount" value="<%=obj.getUserReCount()%>"  class="edline" readonly onkeydown="javascript:nextKeyPress(this)" size="20"></td>
	</tr>	
	<tr>
		<td class="title" align="right">个人签名:</td>
		<td colspan="3"><%=Utility.trimNull(obj.getPersonalSign()) %></td>
	</tr>	
	<tr>	
		<td class="title" align="right">自我介绍:</td>
		<td colspan="3"><%=Utility.trimNull(obj.getPersonalIntro()) %></td>
	</tr>													
																													
</table>
<table class="btntable" width="100%">
	<tr>
		<td>
		<button class="btn" accessKey="b" id="btnBack" name="btnBack" onclick="javascript:history.back();">返回(<u>B</u>)</button>
		&nbsp;&nbsp;								
		</td>
	</tr>
</table>
</form>
<%=COPYRIGHTFOOT%>
<%@ include file="../common/foot.inc"%>
</BODY>
</HTML>

